package com.adapter.demo05;

public class Kittie {

    public void miao(){
        System.out.println("喵喵叫...");
    }

    public void catchRat() {
        System.out.println("抓老鼠...");
    }

    public void run() {
        System.out.println("Kittie 跑起来了...");
    }

    public void sleep() {
        System.out.println("Kittie 在睡觉....");
    }

    public String getName(){
        return name;
    }

    public void setName(String name){
        this.name = name;
    }

    private String name;
}
